

Project 'VGG16_1FC.Exp10.BonA.100p.unmasked.run_2':
[1] "Model type 'VGG16_1FC' sucessfully initialized:"
$model
Model
Model: "sequential"
____________________________________________________________________________________________________________________________________________________________________
Layer (type)                                                             Output Shape                                                      Param #                  
====================================================================================================================================================================
vgg16 (Model)                                                            (None, 7, 7, 512)                                                 14714688                 
____________________________________________________________________________________________________________________________________________________________________
flatten (Flatten)                                                        (None, 25088)                                                     0                        
____________________________________________________________________________________________________________________________________________________________________
fc1 (Dense)                                                              (None, 256)                                                       6422784                  
____________________________________________________________________________________________________________________________________________________________________
Predictions (Dense)                                                      (None, 10)                                                        2570                     
====================================================================================================================================================================
Total params: 21,140,042
Trainable params: 6,425,354
Non-trainable params: 14,714,688
____________________________________________________________________________________________________________________________________________________________________



$classes
                                     name id
1                Asteromphalus.labId_6835  0
2                  Chaetoceros.labId_6813  1
3  Fragilariopsis kerguelensis.labId_8356  2
4      Fragilariopsis rhombica.labId_8362  3
5                    Nitzschia.labId_6758  4
6              Pseudonitzschia.labId_8364  5
7                 Rhizosolenia.labId_6776  6
8            Silicoflagellate.labId_10255  7
9      Thalassiosira gracilis.labId_10366  8
10  Thalassiosira lentiginosa.labId_10369  9

$inputShape
[1] 224 224

$optimizer
<tensorflow.python.keras.optimizers.Adam>

$callbacksList
list()

Data:
Classes: 10

Training: 1551 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
5        0               Asteromphalus.labId_6835   128           0         128
6        1                 Chaetoceros.labId_6813   281           0         281
1        2 Fragilariopsis kerguelensis.labId_8356   193           0         193
3        3     Fragilariopsis rhombica.labId_8362   172           0         172
10       4                   Nitzschia.labId_6758    33           0          33
4        5             Pseudonitzschia.labId_8364   277           0         277
7        6                Rhizosolenia.labId_6776    59           0          59
8        7           Silicoflagellate.labId_10255   132           0         132
9        8     Thalassiosira gracilis.labId_10366    99           0          99
2        9  Thalassiosira lentiginosa.labId_10369   177           0         177
11      NA                                    Sum  1551           0        1551

Validation: 392 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
2        0               Asteromphalus.labId_6835    32           0          32
6        1                 Chaetoceros.labId_6813    71           0          71
1        2 Fragilariopsis kerguelensis.labId_8356    49           0          49
7        3     Fragilariopsis rhombica.labId_8362    43           0          43
10       4                   Nitzschia.labId_6758     9           0           9
5        5             Pseudonitzschia.labId_8364    70           0          70
9        6                Rhizosolenia.labId_6776    15           0          15
3        7           Silicoflagellate.labId_10255    33           0          33
8        8     Thalassiosira gracilis.labId_10366    25           0          25
4        9  Thalassiosira lentiginosa.labId_10369    45           0          45
11      NA                                    Sum   392           0         392

Test: 1376 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
10       0               Asteromphalus.labId_6835    63          63           0
9        1                 Chaetoceros.labId_6813    82          82           0
1        2 Fragilariopsis kerguelensis.labId_8356   418         418           0
7        3     Fragilariopsis rhombica.labId_8362    57          57           0
8        4                   Nitzschia.labId_6758    76          76           0
2        5             Pseudonitzschia.labId_8364   173         173           0
4        6                Rhizosolenia.labId_6776   153         153           0
6        7           Silicoflagellate.labId_10255   177         177           0
5        8     Thalassiosira gracilis.labId_10366    88          88           0
3        9  Thalassiosira lentiginosa.labId_10369    89          89           0
11      NA                                    Sum  1376        1376           0

Compiling Model:

Starting Training:
Epochs: 50
Batch size: 32


Evaluating trained model for project 'VGG16_1FC.Exp10.BonA.100p.unmasked.run_2':


Model evaluation:
$confusionMatrix
Confusion Matrix and Statistics

          Reference
Prediction   0   1   2   3   4   5   6   7   8   9
         0  63   0   0   0   1   0   2   0   0   0
         1   0  65   0   1   3   4   6   2   0   0
         2   0   0 393   0   0   0   0   0   0   0
         3   0   0  22  56   2   0   0   0   0   1
         4   0   1   0   0  55   0   2   0   0   0
         5   0  16   3   0  13 169  50   0   0   0
         6   0   0   0   0   2   0  93   0   0   0
         7   0   0   0   0   0   0   0 175   0   0
         8   0   0   0   0   0   0   0   0  88   0
         9   0   0   0   0   0   0   0   0   0  88

Overall Statistics
                                         
               Accuracy : 0.9048         
                 95% CI : (0.888, 0.9198)
    No Information Rate : 0.3038         
    P-Value [Acc > NIR] : < 2.2e-16      
                                         
                  Kappa : 0.8877         
                                         
 Mcnemar's Test P-Value : NA             

Statistics by Class:

                     Class: 0 Class: 1 Class: 2 Class: 3 Class: 4 Class: 5 Class: 6 Class: 7 Class: 8 Class: 9
Precision             0.95455  0.80247   1.0000  0.69136  0.94828   0.6733  0.97895   1.0000  1.00000  1.00000
Recall                1.00000  0.79268   0.9402  0.98246  0.72368   0.9769  0.60784   0.9887  1.00000  0.98876
F1                    0.97674  0.79755   0.9692  0.81159  0.82090   0.7972  0.75000   0.9943  1.00000  0.99435
Prevalence            0.04578  0.05959   0.3038  0.04142  0.05523   0.1257  0.11119   0.1286  0.06395  0.06468
Detection Rate        0.04578  0.04724   0.2856  0.04070  0.03997   0.1228  0.06759   0.1272  0.06395  0.06395
Detection Prevalence  0.04797  0.05887   0.2856  0.05887  0.04215   0.1824  0.06904   0.1272  0.06395  0.06395
Balanced Accuracy     0.99886  0.89016   0.9701  0.98175  0.86069   0.9544  0.80310   0.9944  1.00000  0.99438

$statistics
   class                              className  TP FP FN precision    recall        F1
1      0               Asteromphalus.labId_6835  63  3  0 0.9545455 1.0000000 0.9767442
2      1                 Chaetoceros.labId_6813  65 16 17 0.8024691 0.7926829 0.7975460
3      2 Fragilariopsis kerguelensis.labId_8356 393  0 25 1.0000000 0.9401914 0.9691739
4      3     Fragilariopsis rhombica.labId_8362  56 25  1 0.6913580 0.9824561 0.8115942
5      4                   Nitzschia.labId_6758  55  3 21 0.9482759 0.7236842 0.8208955
6      5             Pseudonitzschia.labId_8364 169 82  4 0.6733068 0.9768786 0.7971698
7      6                Rhizosolenia.labId_6776  93  2 60 0.9789474 0.6078431 0.7500000
8      7           Silicoflagellate.labId_10255 175  0  2 1.0000000 0.9887006 0.9943182
9      8     Thalassiosira gracilis.labId_10366  88  0  0 1.0000000 1.0000000 1.0000000
10     9  Thalassiosira lentiginosa.labId_10369  88  0  1 1.0000000 0.9887640 0.9943503

$macro
$macro$precision
[1] 0.9048903

$macro$recall
[1] 0.9001201

$macro$F1
[1] 0.8911792

$macro$F1.Sokolova_Lapalme
[1] 0.9024989


$micro
$micro$precision
[1] 0.9047965

$micro$recall
[1] 0.9047965

$micro$F1
[1] 0.9047965


